cmake_minimum_required(VERSION 3.16.3)
project(webServer)

# 添加可执行文件
file(GLOB SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*.c")
add_executable(webServer ${SRCS})

# 链接 pthread 库
target_link_libraries(webServer PRIVATE -lpthread)